package com.hue.springbootmybatis.domain;

import com.hue.springbootmybatis.plugins.TuominStrategy;
import com.hue.springbootmybatis.plugins.annotation.Tuomin;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @Author: 姚凤桥
 * @Date: 2022/5/13 21:31
 * @Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class User {
    private String id;

    @Tuomin(strategy = TuominStrategy.NAME)
    private String name;

    private Integer age;

    private Date createTime;

    private Integer status;
}
